

ac.skill('炸裂被动'){
    temp = '攻击触发',
    tip = [[攻击对目标造成伤害,冷却10秒]],
    on_run = function(self,hero,target)
        local damage = self.rate1
        local point1 = hero:get_point()
        local point2 = target:get_point()
        local range = point1 * point2
        local angle = point1 / point2
        local distance = 1200 - range
        local mover = point1:bezier_missile(target,{135 + math.random(30),distance,300},self.model1,1800,function()
            local point2 = target:get_point()
            point2:add_effect(self.model2,1)
            hero:aoe_damage(point2,150,damage,self)
        end)
        mover.mover:set_scale(self.size or 1)
    end,
}

ac.skill('UR-智力1'){
    temp = '炸裂被动',
    size = 2,
    model1 = [[Abilities\Spells\Orc\LightningBolt\LightningBoltMissile.mdl]],
    model2 = [[Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl]],
}

ac.skill('UR-智力2'){
    temp = '炸裂被动',
    size = 3,
    model1 = [[Abilities\Weapons\VengeanceMissile\VengeanceMissile.mdl]],
    model2 = [[Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl]],
}

ac.skill('UR-智力3'){
    temp = '炸裂被动',
    size = 0.5,
    model1 = [[Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl]],
    model2 = [[Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl]],
}

ac.skill('UR-智力4'){
    temp = '炸裂被动',
    model1 = [[Abilities\Spells\Undead\Possession\PossessionMissile.mdl]],
    model2 = [[Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl]],
}